#include <stdio.h>

// poker color define
#define POKER_COLOR_SPADES "黑桃"
#define POKER_COLOR_HEARTS "红桃"
#define POKER_COLOR_CLUBS "梅花"
#define POKER_COLOR_DIAMONDS "方块"

// poker color
typedef enum _POKER_COLOR
{
    // 黑桃
    SPADES = 1,
    // 红桃
    HEARTS = 2,
    // 梅花
    CLUBS = 3,
    // 方块
    DIAMONDS = 4
} POKER_COLOR;

// poker suit
typedef enum _POKER_SUIT
{
    // Joker, 王牌无点
    JOKER = 0,
    // 2
    TWO = 2,
    // 3
    THREE,
    // 4
    FOUR,
    // 5
    FIVE,
    // 6
    SIX,
    // 7
    SEVEN,
    // 8
    EIGHT,
    // 9
    NINE,
    // 10
    TEN,
    // J
    JACK,
    // Q
    QUEEN,
    // K
    KING,
    // A
    ACE
} POKER_SUIT;

// poker card
typedef struct _POKER_CARD
{
    // poker color
    POKER_COLOR color;
    // poker suit
    POKER_SUIT suit;
} POKER_CARD;

POKER_CARD POKER_CARDS[52];

char *get_poker(const POKER_CARD);
char *get_color(const POKER_CARD);
char *get_suit(const POKER_CARD);